﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="SearchEnlistHeader.ascx.vb"
    Inherits="WebForm_Main_SearchEnlistHeader" %>
<My:MyGridView ID="gvEnlistHeaderInfo" SkinID="pager" runat="server" AllowHoverEffect="false"
    AllowHoverSelect="false" meta:resourcekey="gvEnlistHeaderInfo">
    <Columns>
        <asp:BoundField DataField="OrganizationName" meta:resourcekey="bfOrganizationName"
            SortExpression="OrganizationName">
            <headerstyle width="100px" />
            <itemstyle width="100px" />
        </asp:BoundField>
        <asp:BoundField DataField="EnlistName" meta:resourcekey="bfEnlistName" SortExpression="EnlistName">
            <headerstyle width="120px" />
            <itemstyle width="120px" />
        </asp:BoundField>
        <asp:BoundField DataField="WorkType" meta:resourcekey="bfWorkType" SortExpression="WorkType">
            <headerstyle width="120px" />
            <itemstyle width="120px" />
        </asp:BoundField>
        
<%--        <asp:BoundField DataField="StartDate,EndDate" meta:resourcekey="bfStartDate" SortExpression="StartDate"
            DataFormatString="{0}~{1}">
            <itemstyle horizontalalign="Center" />
        </asp:BoundField>
           --%>
        <asp:TemplateField meta:resourcekey="bfStartDate">
            <itemtemplate>
                <%#Eval("StartDate", "{0:yyyy/MM/dd}")%>~<%#Eval("EndDate", "{0:yyyy/MM/dd}")%>
            </itemtemplate>
            <itemstyle horizontalalign="left" />
        </asp:TemplateField>
   <%--     <asp:BoundField DataField="EndDate" meta:resourcekey="bfEndDate" SortExpression="EndDate"
            DataFormatString="{0}">
            <itemstyle horizontalalign="Center" />
        </asp:BoundField>--%>
        <asp:BoundField DataField="PeopleRequired" meta:resourcekey="bfPeopleRequired" SortExpression="PeopleRequired">
            <itemstyle horizontalalign="Center" />
        </asp:BoundField>
    </Columns>
</My:MyGridView> 